package cn.iocoder.yudao.module.order.controller.admin.tradeorder.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import javax.validation.constraints.*;

/**
* 交易订单 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 * @author Administrator
 */
@Data
public class TradeOrderBaseVO {

    @Schema(description = "订单号", required = true)
    @NotNull(message = "订单号不能为空")
    private Integer orderNumber;

    @Schema(description = "门店名称", required = true)
    @NotNull(message = "门店名称不能为空")
    private String storeName;

    @Schema(description = "经营场景", required = true)
    @NotNull(message = "经营场景不能为空")
    private String businessScene;

    @Schema(description = "操作员会员")
    private String operatorMember;

    @Schema(description = "手机号交易", required = true)
    @NotNull(message = "手机号交易不能为空")
    private String phoneNumber;

    @Schema(description = "金额", required = true)
    @NotNull(message = "金额不能为空")
    private BigDecimal amount;

    @Schema(description = "状态", required = true)
    @NotNull(message = "状态不能为空")
    private Integer status;

    @Schema(description = "支付方式", required = true)
    @NotNull(message = "支付方式不能为空")
    private String paymentMethod;

    @Schema(description = "创建时间字段", required = true)
    @NotNull(message = "创建时间字段不能为空")
    private Date createdAt;

}
